package chapter9;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/3/9 8:56
 */
public class Apply {
    public static void process(Processor processor, Object input) {
        System.out.println("using processor " + processor.name());
        System.out.println(processor.process(input));
    }
}
